/*
* 命名空间: Project.Model
*
* 功 能： T_PayMoneyCount实体类
*
* 类 名： T_PayMoneyCountEntity
*
* Version   变更日期            负责人     变更内容
* ─────────────────────────────────────────────────
* V1.0.1    2020/02/02 14:50:40 罗维     创建
*
* Copyright (c) 2019 Lir Corporation. All rights reserved.
*/

namespace Project.Model
{
    using System;
    using Tool.Model;

    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    [DBTableInfo(TableName = "T_PayMoneyCount")]
    public class T_PayMoneyCountEntity
    {

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 19,DecimalDigits = 0,ColumnName = "ID",Required = true,DefaultValue = "",IsPrimarykey = false)]
        public long ID
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "DepNo",Required = true,DefaultValue = "",IsPrimarykey = false)]
        public long DepNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "ProjectNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ProjectNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "ProjectName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ProjectName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 3,DataLength = 10,DecimalDigits = 0,ColumnName = "StartDate",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? StartDate
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 18,DecimalDigits = 2,ColumnName = "WorkCount",Required = false,DefaultValue = "((0))",IsPrimarykey = false)]
        public decimal? WorkCount
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 18,DecimalDigits = 2,ColumnName = "WorkMoney",Required = false,DefaultValue = "((0))",IsPrimarykey = false)]
        public decimal? WorkMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 18,DecimalDigits = 2,ColumnName = "SumMoney",Required = false,DefaultValue = "((0))",IsPrimarykey = false)]
        public decimal? SumMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 18,DecimalDigits = 2,ColumnName = "OverMoney",Required = false,DefaultValue = "((0))",IsPrimarykey = false)]
        public decimal? OverMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 18,DecimalDigits = 2,ColumnName = "LoanMoney",Required = false,DefaultValue = "((0))",IsPrimarykey = false)]
        public decimal? LoanMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 18,DecimalDigits = 2,ColumnName = "ExpressMoney",Required = false,DefaultValue = "((0))",IsPrimarykey = false)]
        public decimal? ExpressMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 18,DecimalDigits = 2,ColumnName = "ExpressTicket",Required = false,DefaultValue = "((0))",IsPrimarykey = false)]
        public decimal? ExpressTicket
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 18,DecimalDigits = 2,ColumnName = "RealMoney",Required = false,DefaultValue = "((0))",IsPrimarykey = false)]
        public decimal? RealMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 18,DecimalDigits = 2,ColumnName = "TicketMoney",Required = false,DefaultValue = "((0))",IsPrimarykey = false)]
        public decimal? TicketMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 18,DecimalDigits = 2,ColumnName = "Total",Required = false,DefaultValue = "((0))",IsPrimarykey = false)]
        public decimal? Total
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 3,DataLength = 10,DecimalDigits = 0,ColumnName = "WorkTime",Required = false,DefaultValue = "(getdate())",IsPrimarykey = false)]
        public DateTime? WorkTime
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "CreateTime",Required = false,DefaultValue = "(getdate())",IsPrimarykey = false)]
        public DateTime? CreateTime
        {
            get; set;
        }
    }
}
